<template>
  <div>
   <van-nav-bar
  title="保险"
  left-text="返回"
  right-text="按钮"
  left-arrow
  @click-left="onClickLeft"
  @click-right="onClickRight"
/>
<form action="/">
  <van-search
    v-model="value"
    show-action
    placeholder="请输入搜索关键词"
    @search="onSearch"
    @cancel="onCancel"
  />
</form>
 <Bx1/>
 <div class="imgs">
     <img src="../../../public/homes/li.png" alt="">
 </div>
<div  class="imgs">
    <img src="../../../public/homes/li1.png" alt="">

</div>
  <Lf/>
  <div class="imgs">
    <img src="../../../public/moder/bx5.png" alt="">
  </div>


  </div>

</template>

<script>
import Lf from "../../components/homes/home1/lifet"
import Bx1 from "../../components/homes/home1/baoxian1"
export default {
 components:{
   Bx1,
   Lf
 },


  data() {
    return {
      value: '',
    };
  },
  methods: {
    onClickLeft() {
        return   this.$router.push("/homes")
    },
    onClickRight() {
      Toast('按钮');
    },
      onSearch(val) {
      Toast(val);
    },
      onCancel() {
      Toast('取消');
    },
  },
}
</script>

<style  lang="less" scoped>
.imgs{
    width: 100%;
    img{width:100%}
}

</style>